package com.xzit.tmms.service.course;

import java.util.List;
import java.util.Map;

import com.xzit.tmms.bean.unit.Course;
import com.xzit.tmms.common.exception.ServiceException;
import com.xzit.tmms.common.page.Page;

public interface CourseService {
	 	public Page<Map<String,Object>> queryCourse(Page<Map<String,Object>> page) throws ServiceException;
	    
	    public List<Map<String, Object>> getCourseList() throws ServiceException;
	    
	    public void addCourse(Course course) throws ServiceException;
	    
	    public List<Map<String,Object>>getModelList() throws ServiceException;
	    
	    public void deleteCourse(Integer courseId) throws ServiceException;
	    
	    public Course getCourseById(Integer courseId) throws ServiceException;
	    
	    public void updateCourse(Course course) throws ServiceException;
}
